const rs = require("fs")

rs.writeFile("F:WriteFileDemo.txt","i am write content",function(err){
  if(err){
    console.log("写入失败"+err)
  }else{
    console.log("写入成功")
  }
 
})